﻿// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-06-08 16:43:32
// 负责人：Sushee
// ===================================================================
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using OF.Component.Factory;
namespace OF.Component.BLL
{
	
	/// <summary>
	///店铺图片 扩展
	/// </summary>
	public partial class ShopImgOperate
	{
        /// <summary>
    	/// 根据断言条件获取单个店铺图片
    	/// </summary>
        public static ShopImgInfo QuerySingle(Expression<Func<ShopImgInfo, bool>> predicate)
        {
            return dal.QuerySingle(predicate);
        }
        /// <summary>
    	/// 根据断言条件获获取店铺图片列表
    	/// </summary>
        public static IList<ShopImgInfo> QueryList(Expression<Func<ShopImgInfo, bool>> predicate)
        {
            return dal.QueryList(predicate);
        }

        /// <summary>
        /// 删除店铺展示图片
        /// </summary>
        /// <param name="shopId"></param>
        public static void DeleteShopImgByShopId(int shopId)
        {
            dal.DeleteShopImgByShopId(shopId);
        }
    }
}